package com.ihg.hiex.entity.session.before.delegatework;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author houtao
 *
 */
@Alias("WorkExperience")
public enum WorkExperienceLevel {
    
	ABUNDANT("abundant", "我有丰富的经验"),
    
	SOME("some", "我有一些的经验"),
    
	NONE("none", "我毫无经验");
    
    private String alias;
    
    private String description;

	/**
	 * @param alias
	 * @param description
	 */
	private WorkExperienceLevel(String alias, String description) {
		this.alias = alias;
		this.description = description;
	}
	
	/**
	 * 
	 * @return
	 */
	public boolean isAbundant() {
	    return this.equals(ABUNDANT);
	}
	
	/**
	 * 
	 * @return
	 */
	public boolean isSome() {
        return this.equals(SOME);
    }
	
	/**
	 * 
	 * @return
	 */
	public boolean isNone() {
        return this.equals(NONE);
    }

	/**
	 * @return the alias
	 */
	public String getAlias() {
		return alias;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param alias the alias to set
	 */
	public void setAlias(String alias) {
		this.alias = alias;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
}
